package com.arangodb.arangodemo.config;

import com.arangodb.ArangoDB;
import com.arangodb.springframework.annotation.EnableArangoRepositories;
import com.arangodb.springframework.config.AbstractArangoConfiguration;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableArangoRepositories(basePackages = "com.arangodb.arangodemo.reposity")
public class ArangodbConfiguration extends AbstractArangoConfiguration {
    @Override
    public ArangoDB.Builder arango() {
        return new ArangoDB.Builder().host("192.168.112.128", 8529).user("root").password("root");

    }

    @Override
    public String database() {
        return "test";
    }
}
